package com.ruoyi.user.domain.request;


import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
public class LoginRequest {


    @Size(min=0,max=10,message = "用户名长度不能超过10个字符")
    private String userName;

    @NotBlank(message = "密码不能为空")
    private String password;

}
